import request from '@/utils/request'

// 查询传感器类型列表
export function listInfo(data) {
    return request({
        url: '/navigation/selectHistroyTransducerType?type='+data.type,
        method: 'post'
    })
}

// 查询传感器名称列表
export function getInfo(data) {
    return request({
        url: '/navigation/selectHistroyTransducerList?ssTransducerType='+data.ssTransducerType+'&type='+data.type+'&startTime='+data.startTime+'&endTime='+data.endTime,
        method: 'post',
    })
}

// 人员历史列表
export function addInfo(data) {
    return request({
        url: '/navigation/selectSafeInfo',
        method: 'post',
        data
    })
}

// 曲线查询
export function updateInfo(query) {
    return request({
        url: '/navigation/ssHistory',
        method: 'get',
        params: query
    })
}

// 表格查询
export function updateInfo1(query) {
  return request({
      url: '/navigation/ssHistoryTable',
      method: 'get',
      params: query
  })
}
